/*
 * @Author: cyq
 * @Date: 2023-06-29 20:28:05
 * @Last Modified by: cyq
 * @Last Modified time: 2023-06-29 20:30:32
 */

export interface Commit<T> {
  commit: (type: string, value: any) => void;
  state: T;
}

//store的IPayload的类型
export interface Tpayload {
  type: string;
  payload: any;
}
